class ProcessHandler:
    @staticmethod
    def process_str(data: str) -> str:
        return f"处理字符串: {data}"

    @staticmethod
    def process_int(data: int) -> str:
        return f"处理整数: {data}"

    @staticmethod
    def process_list(data: list) -> str:
        return f"处理列表: {len(data)} 个元素"

    @staticmethod
    def process(data: str | int | list) -> str:
        """统一处理入口"""
        if isinstance(data, str):
            return ProcessHandler.process_str(data)

        elif isinstance(data, int):
            return ProcessHandler.process_int(data)

        elif isinstance(data, list):
            return ProcessHandler.process_list(data)

        raise TypeError(f"不支持的数据类型: {type(data)}")
